package dancetiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// DanceAddDrawPrizeNumberLog 补发抽奖次数记录
type DanceAddDrawPrizeNumberLog struct {
	Id           int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"api的id"`
	ActivitiesId int64          `json:"activitiesId" gorm:"column:activities_id;type:bigint;default:0;not null;comment:活动id"` // 活动id
	SecOpenid    string         `json:"secOpenid" gorm:"column:sec_openid;type:varchar(256);not null;default:'';comment: 玩家id"`
	ReUserId     string         `json:"reUserId" gorm:"column:re_user_id;type:varchar(256);not null;default:'';comment:补发人id"`
	Nickname     string         `json:"nickname" gorm:"column:nickname;type:varchar(256);not null;default:'';comment:备注"`  //
	Number       int64          `json:"number" gorm:"column:number;type:bigint;default:0;not null;comment:抽奖次数"`           // 抽奖次数
	Reviewer     string         `json:"reviewer" gorm:"column:reviewer;type:varchar(256);not null;default:'';comment:审核人"` // 审核人
	CreatedId    int64          `json:"created_id" gorm:"column:created_id;type:bigint;default:0;not null;comment:创建人id"`  // 创建人id
	CreatedAt    time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt    time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt    gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
